import java.util.Scanner;

/**
 * 四段字母
 */
public class test22 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s =  sc.nextLine();
        int flag = 0;
        int flag1 = 0;


        for (int i = 0; i < s.length(); i++) {  //world no
            int a = s.charAt(i);
            while(i<s.length() - 1 && (a!='a' && a!='e' && a!='i' && a!='o' && a!='u')) {
                i++;
                a = s.charAt(i);
                flag = 1;
            }
            flag++;
            if (flag!=2) {
                break;
            }

            while(i<s.length() - 1 && (a=='a' || a=='e' || a=='i' || a=='o' || a=='u')) {
                i++;
                a = s.charAt(i);
                flag1 = 1;
            }
            flag1++;
            if (flag1!=2) {
                break;
            }
        }

        if (flag==2 && flag1==2) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}
